package com.example.jdimust.account;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * Author: MaZongyang
 * Date: 2021/5/19/0019 15:38
 * Description:
 */
public class AccountBean {

    @SerializedName("flag")
    private Boolean flag;
    @SerializedName("message")
    private String message;
    @SerializedName("result")
    private List<ResultDTO> result;

    public Boolean getFlag() {
        return flag;
    }

    public void setFlag(Boolean flag) {
        this.flag = flag;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public List<ResultDTO> getResult() {
        return result;
    }

    public void setResult(List<ResultDTO> result) {
        this.result = result;
    }

    public static class ResultDTO {
        @Override
        public String toString() {
            return "{\n" +
                    "\"id='" + id +", \n"+
                    "\"accountName='" + accountName + "\", \n" +
                    "\"accountHash='" + accountHash + "\", \n" +
                    "\"blockHeight=" + blockHeight + "\", \n" +
                    "\"accountCreateTime='" + accountCreateTime + "\", \n" +
                    "\"accountUid=" + accountUid + "\", \n" +
                    "\"accountLid=" + accountLid + "\", \n" +
                    "\"state='" + state+ "\", \n" +
                    "}";
        }

        @SerializedName("id")
        private String id;
        @SerializedName("accountName")
        private String accountName;
        @SerializedName("accountHash")
        private String accountHash;
        @SerializedName("blockHeight")
        private Integer blockHeight;
        @SerializedName("accountCreateTime")
        private String accountCreateTime;
        @SerializedName("accountUid")
        private Integer accountUid;
        @SerializedName("accountLid")
        private Integer accountLid;
        @SerializedName("state")
        private String state;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getAccountName() {
            return accountName;
        }

        public void setAccountName(String accountName) {
            this.accountName = accountName;
        }

        public String getAccountHash() {
            return accountHash;
        }

        public void setAccountHash(String accountHash) {
            this.accountHash = accountHash;
        }

        public Integer getBlockHeight() {
            return blockHeight;
        }

        public void setBlockHeight(Integer blockHeight) {
            this.blockHeight = blockHeight;
        }

        public String getAccountCreateTime() {
            return accountCreateTime;
        }

        public void setAccountCreateTime(String accountCreateTime) {
            this.accountCreateTime = accountCreateTime;
        }

        public Integer getAccountUid() {
            return accountUid;
        }

        public void setAccountUid(Integer accountUid) {
            this.accountUid = accountUid;
        }

        public Integer getAccountLid() {
            return accountLid;
        }

        public void setAccountLid(Integer accountLid) {
            this.accountLid = accountLid;
        }

        public String getState() {
            return state;
        }

        public void setState(String state) {
            this.state = state;
        }
    }
}
